package eerbaar.position;

import eerbaar.position.internal.FrozenPosition;
import eerbaar.position.internal.Position;

public class PositionFactory {

    public static IFrozenPosition createFrozenPosition(int x, int y) {
        return new FrozenPosition(x, y);
    }

    public static IFrozenPosition createFrozenPosition(IPosition copy) {
        return new FrozenPosition(copy);
    }

    public static IPosition createPosition(int x, int y) {
        return new Position(x, y);
    }

    public static IPosition createPosition(IPosition copy) {
        return new Position(copy);
    }

    private PositionFactory() {
        //
    }

}
